ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / InputTime<T> Class / Format Property






In This Topic
    Format Property (InputTime<T>)
    In This Topic
    Gets or sets the format used to display the selected time (see Globalize).
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute("d")>
    Public Property Format As System.String
    'Usage
     
    
    Dim instance As InputTime(Of T)
    Dim value As System.String
     
    instance.Format = value
     
    value = instance.Format
    [System.ComponentModel.DefaultValue("d")]
    public System.string Format {get; set;}
    public read-write property Format: System.String; 
    System.ComponentModel.DefaultValueAttribute("d")
    public function get,set Format : System.String
    [System.ComponentModel.DefaultValue("d")]
    public: __property System.string* get_Format();
    public: __property void set_Format( 
       System.string* value
    );
    [System.ComponentModel.DefaultValue("d")]
    public:
    property System.String^ Format {
       System.String^ get();
       void set (    System.String^ value);
    }
    Remarks
    The format string is expressed as a .NET-style time format string.
    See Also